import request from '@/utils/request'

export function querySysUserPage(query) {
    return request({
        url: '/sys/user/page',
        method: 'get',
        params: query
    })
}


export function delUser(query) {
    return request({
        url: '/sys/user/del',
        method: 'delete',
        params: query
    })
}


export function createUser(data) {
    return request({
        url: '/sys/user/add',
        method: 'post',
        data: data
    })
}